package com.example.administrator.yuejian35.Home.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by JUSTIN on 2017/9/26.
 */

public class Master implements Parcelable {

    /**
     * coachid : 1
     * clubid : 3
     * coursetypeid : 2
     * courseid : 2
     * recommend : 2
     * coachname : 何晓久
     * coachbirthday : 0000-00-01
     * coachpic : 49.jpg
     * coachintro : 上得了厅堂下得了厨房
     * coachattention : 123451
     * coachphone : 18900962384
     */

    private String coachid;
    private String clubid;
    private String coursetypeid;
    private String courseid;
    private String recommend;
    private String coachname;
    private String coachbirthday;
    private String coachpic;
    private String coachintro;
    private String coachattention;
    private String coachphone;

    protected Master(Parcel in) {
        coachid = in.readString();
        clubid = in.readString();
        coursetypeid = in.readString();
        courseid = in.readString();
        recommend = in.readString();
        coachname = in.readString();
        coachbirthday = in.readString();
        coachpic = in.readString();
        coachintro = in.readString();
        coachattention = in.readString();
        coachphone = in.readString();
    }

    public static final Creator<Master> CREATOR = new Creator<Master>() {
        @Override
        public Master createFromParcel(Parcel in) {
            return new Master(in);
        }

        @Override
        public Master[] newArray(int size) {
            return new Master[size];
        }
    };

    public void setCoachid(String coachid) {
        this.coachid = coachid;
    }

    public void setClubid(String clubid) {
        this.clubid = clubid;
    }

    public void setCoursetypeid(String coursetypeid) {
        this.coursetypeid = coursetypeid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    public void setCoachname(String coachname) {
        this.coachname = coachname;
    }

    public void setCoachbirthday(String coachbirthday) {
        this.coachbirthday = coachbirthday;
    }

    public void setCoachpic(String coachpic) {
        this.coachpic = coachpic;
    }

    public void setCoachintro(String coachintro) {
        this.coachintro = coachintro;
    }

    public void setCoachattention(String coachattention) {
        this.coachattention = coachattention;
    }

    public void setCoachphone(String coachphone) {
        this.coachphone = coachphone;
    }

    public String getCoachid() {
        return coachid;
    }

    public String getClubid() {
        return clubid;
    }

    public String getCoursetypeid() {
        return coursetypeid;
    }

    public String getCourseid() {
        return courseid;
    }

    public String getRecommend() {
        return recommend;
    }

    public String getCoachname() {
        return coachname;
    }

    public String getCoachbirthday() {
        return coachbirthday;
    }

    public String getCoachpic() {
        return coachpic;
    }

    public String getCoachintro() {
        return coachintro;
    }

    public String getCoachattention() {
        return coachattention;
    }

    public String getCoachphone() {
        return coachphone;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(coachid);
        parcel.writeString(clubid);
        parcel.writeString(coursetypeid);
        parcel.writeString(courseid);
        parcel.writeString(recommend);
        parcel.writeString(coachname);
        parcel.writeString(coachbirthday);
        parcel.writeString(coachpic);
        parcel.writeString(coachintro);
        parcel.writeString(coachattention);
        parcel.writeString(coachphone);
    }
}
